home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 2
/
Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso
/
Aminet
/
comm
/
mail
/
pmread.lzh
/
GetNews.lzh
/
GetNews.doc
< prev
next >
Wrap
Text File
|
1992-10-18
|
3KB
|
58 lines
Here is some simple documentation on getting the automatic transaction
stuff to happen. Chris has been too busy to write some detailed
documentation, so this will have to suffice. If you need assistance in
getting your particular scripts to work with your particular UNIX system,
just email Chris at: cfury@csugrad.cs.vt.edu
Please, however, follow directions explicitely and make sure you are really
stuck before you mail him.
The files in this archive are as follows:
GetNews.rexx - This AREXX script is called by PMRead. It should be
located in PMREAD:, along with PMLogin.rexx and PMLogoff.rexx. It
handles communication with Term, PMSend, and fn.
PMLogin.rexx - This AREXX script is called by GetNews.rexx to log you into
your UNIX machine. This should be self-contained script, and must return
only after you are sitting at your UNIX command prompt.
PMLogoff.rexx - This AREXX script is called by GetNews.rexx at the end of
the data transaction. This should be a self-contained script, and must
log you off your UNIX machine and hang up.
PMSend - This is a UNIX script program which you must upload to
your UNIX home directory and set the executable bit:
chmod +x PMSend
Make sure . is in your path.
fn.c - This is an ANSI "C" program which must be uploaded and
compiled on your UNIX machine. Put the output executable, fn, in your
home directory. PMSend uses fn to build a mailbox-format folder file
of all news in your various group directories, based on starting and
ending message numbers managed by GetNews.rexx and PMSend.
Now, follow these directions to set all this up:
1) Place GetNews.rexx, PMLogin.rexx, and PMLogoff.rexx in PMREAD:. Modify
PMLogin.rexx and PMLogoff.rexx to handle logging you on and off of your
UNIX machine, as specified. These scripts are independent of anything else,
so just spend a lot of time with Term and AREXX and get these taken care of
first.
2) Login in to your UNIX account and upload PMSend and fn.c to your home
directory. Use either kermit or rz, whichever you prefer. If you haven't
used kermit before, select Kermit as your transfer protocol within Term.
Type 'kermit -i -r' at your UNIX prompt, then upload each file.
3) Set the executable flag on PMSend with chmod: 'chmod +x PMSend'
4) Compile fn like this: 'cc fn.c' The output executable generated will
be called a.out. Rename this as fn like this: 'mv a.out fn'
5) Everything should be set up now! See, that wasn't too bad.